#include <iostream>
#include <ctime>
#include <cstdlib>
#include "DLNode.h"

using namespace std;

#define MAXSIZE 10

int main(void)
{
	srand((unsigned)time(NULL));

	int a[MAXSIZE];
	PDLNode L;
	for (int i = 0; i <MAXSIZE; i++)
	{
		a[i] = rand() % 101;
		a[i] = i + 1;
	}
	sort_Array(a,MAXSIZE);

	createDlistR(L, a, MAXSIZE);
	traverseList(L);

	createDlistF(L, a, MAXSIZE);
	traverseList(L);

	cout << "hello list" << endl;
	return 0;
}
